/**********************************************************************
* $Id$		abstract.txt 			
*//**
* @file		abstract.txt 
* @brief	Example description file
* @version	2.0
* @date		
* @author	NXP MCU SW Application Team
*
* Copyright(C) 2010, NXP Semiconductor
* All rights reserved.
*
***********************************************************************
* Software that is described herein is for illustrative purposes only
* which provides customers with programming information regarding the
* products. This software is supplied "AS IS" without any warranties.
* NXP Semiconductors assumes no responsibility or liability for the
* use of the software, conveys no license or title under any patent,
* copyright, or mask work right to the product. NXP Semiconductors
* reserves the right to make changes in the software without
* notification. NXP Semiconductors also make no representation or
* warranty that such application will be suitable for the specified
* use without further testing or modification.
**********************************************************************/
  
@Example description:
Purpose:
	This example describes how to use DMA to transfer data to DAC peripheral
Process:
	DAC will be initialized with maximum current is 700uA. This allows a 
        maximum update rate of 1Mhz
	Formula for ouput voltage on AOUT is: 
		AOUT = VALUE x ((Vrefp - Vrefn)/1024)+Vrefn
	in which:
    	  - Vrefp: tied to VDD(3.3V)
	  - Vrefn: tied to Vss
		
	GPDMA channel 0 is configured in this example.
	GPDMA channel 0 will tranfer "dac_value" to DAC peripheral. DAC updated 
        values have range from 0 to 0x3FF. So AOUT ouput voltage will change 
        from: Vss to VDD.
		
	Observe AOUT(P0.26) pin 7 of J7 on the Lincoln signal by oscilloscope.
					
@Directory contents:
	\EWARM: includes EWARM (IAR) project and configuration files
	\Keil:	includes RVMDK (Keil)project and configuration files 
	 
	lpc17xx_libcfg.h: Library configuration file - include needed driver 
                          library for this example 
	makefile: Example's makefile (to build with GNU toolchain)
	dac_dma.c: Main program

@How to run:
Running mode:
	This example can run on RAM/ROM mode.
					
Step to run:
	- Step 1: Build example.
	- Step 2: Burn hex file into board (if run on ROM mode)
	- Step 3: Configure hardware as above instruction 
	- Step 4: Run example and observe AOUT(P0.26) on pin 7 of J7 signal by
                  oscilloscope
		
@Tip:
	- Open \EWARM\*.eww project file to run example on IAR
	- Open \RVMDK\*.uvproj project file to run example on Keil